<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/Flow.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Flow.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_flow_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef slic3r_Flow_hpp_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define slic3r_Flow_hpp_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="libslic3r_8h.html">libslic3r.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_config_8hpp.html">Config.hpp</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_extrusion_entity_8hpp.html">ExtrusionEntity.hpp</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_slic3r.html">Slic3r</a> {</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#acc507236f3ad6ccc35452c9315da3e96">   10</a></span>&#160;constexpr <span class="keyword">auto</span> <a class="code" href="namespace_slic3r.html#acc507236f3ad6ccc35452c9315da3e96">BRIDGE_EXTRA_SPACING</a> = 0.05;</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#abced911f7635cda7a4b8423008e753a9">   11</a></span>&#160;constexpr <span class="keyword">auto</span> <a class="code" href="namespace_slic3r.html#abced911f7635cda7a4b8423008e753a9">OVERLAP_FACTOR</a> = 1.0;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567a">   14</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567a">FlowRole</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa73b23230c5b13dd721893c50d09a9d5f">   15</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa73b23230c5b13dd721893c50d09a9d5f">frExternalPerimeter</a>,</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa76382120c41343ceddf63472ce33ceaf">   16</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa76382120c41343ceddf63472ce33ceaf">frPerimeter</a>,</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aadc1f79acb9a303b4dcd74d6aaaa637e2">   17</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aadc1f79acb9a303b4dcd74d6aaaa637e2">frInfill</a>,</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa7d4497c484372805525d52c0809d85a0">   18</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa7d4497c484372805525d52c0809d85a0">frSolidInfill</a>,</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa1659c28f8384ed923cc03781bf910c54">   19</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa1659c28f8384ed923cc03781bf910c54">frTopSolidInfill</a>,</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa16d80b2546547565f4e334f9cf68a415">   20</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa16d80b2546547565f4e334f9cf68a415">frSupportMaterial</a>,</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa994c86d4a3903ed69cf3b69fa2be90a2">   21</a></span>&#160;    <a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa994c86d4a3903ed69cf3b69fa2be90a2">frSupportMaterialInterface</a>,</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;};</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html">   26</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_slic3r_1_1_flow.html">Flow</a></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#a6030c04dfb2372ee8c8a1d9014c4a3cf">   29</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_slic3r_1_1_flow.html#a6030c04dfb2372ee8c8a1d9014c4a3cf">width</a>, <a class="code" href="class_slic3r_1_1_flow.html#a51d6515f3be6a482192432347e8abf00">height</a>, <a class="code" href="class_slic3r_1_1_flow.html#ad232e14befb4c7b4ac18c6e81c4e36ed">nozzle_diameter</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#a83820293c290e04af49afc7d4aec0769">   30</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_slic3r_1_1_flow.html#a83820293c290e04af49afc7d4aec0769">bridge</a>;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#a441a5a83187dc581d23e3cf7d2db341a">   32</a></span>&#160;    <a class="code" href="class_slic3r_1_1_flow.html#a441a5a83187dc581d23e3cf7d2db341a">Flow</a>(<span class="keywordtype">float</span> _w, <span class="keywordtype">float</span> _h, <span class="keywordtype">float</span> _nd, <span class="keywordtype">bool</span> _bridge = <span class="keyword">false</span>)</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        : width(_w), height(_h), nozzle_diameter(_nd), bridge(_bridge) {};</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_flow.html">Flow</a> &amp;other) <span class="keyword">const</span>;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_flow.html#abdb03e56911ff807d0e1fda1c07155bc">set_spacing</a>(<span class="keywordtype">float</span> <a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>);</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#a9ae18622304592a432ed22b3705aa12d">   43</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_flow.html#a9ae18622304592a432ed22b3705aa12d">set_solid_spacing</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> total_width) {</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        this-&gt;<a class="code" href="class_slic3r_1_1_flow.html#abdb03e56911ff807d0e1fda1c07155bc">set_spacing</a>(<a class="code" href="class_slic3r_1_1_flow.html#aadd5c6973103d034d6e8ee528a011bf7">Flow::solid_spacing</a>(total_width, this-&gt;<a class="code" href="class_slic3r_1_1_flow.html#a8d56d1ac599f0ae41d95794c8ed66b98">scaled_spacing</a>()));</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    };</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#ae1f0e688c29134b9cb748f92516b507c">   46</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_slic3r_1_1_flow.html#ae1f0e688c29134b9cb748f92516b507c">set_solid_spacing</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> total_width) {</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        this-&gt;<a class="code" href="class_slic3r_1_1_flow.html#abdb03e56911ff807d0e1fda1c07155bc">set_spacing</a>(<a class="code" href="class_slic3r_1_1_flow.html#aadd5c6973103d034d6e8ee528a011bf7">Flow::solid_spacing</a>(total_width, (<a class="code" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a>)this-&gt;<a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>()));</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    };</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_slic3r_1_1_flow.html#ab8915dc7b1902bef7ebe2c323346766f">mm3_per_mm</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#a1766d8ec9f82c0810cf3acf9d2a6d0d1">   50</a></span>&#160;    <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> <a class="code" href="class_slic3r_1_1_flow.html#a1766d8ec9f82c0810cf3acf9d2a6d0d1">scaled_width</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(this-&gt;width);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    };</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#a8d56d1ac599f0ae41d95794c8ed66b98">   53</a></span>&#160;    <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> <a class="code" href="class_slic3r_1_1_flow.html#a8d56d1ac599f0ae41d95794c8ed66b98">scaled_spacing</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(this-&gt;<a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>());</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    };</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_slic3r_1_1_flow.html#a4c03208d54194e4c708b17c40a418801">   56</a></span>&#160;    <a class="code" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> <a class="code" href="class_slic3r_1_1_flow.html#a4c03208d54194e4c708b17c40a418801">scaled_spacing</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_flow.html">Flow</a> &amp;other)<span class="keyword"> const </span>{</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">scale_</a>(this-&gt;<a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>(other));</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    };</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    </div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keyword">static</span> <a class="code" href="class_slic3r_1_1_flow.html">Flow</a> <a class="code" href="class_slic3r_1_1_flow.html#a8e0baa95d231d187bd6d013e3c3f528d">new_from_config_width</a>(<a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567a">FlowRole</a> role, <span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_config_option_float_or_percent.html">ConfigOptionFloatOrPercent</a> &amp;width, <span class="keywordtype">float</span> nozzle_diameter, <span class="keywordtype">float</span> height, <span class="keywordtype">float</span> bridge_flow_ratio);</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keyword">static</span> <a class="code" href="class_slic3r_1_1_flow.html">Flow</a> <a class="code" href="class_slic3r_1_1_flow.html#abc8c016119602809cc6eea441a7ed09a">new_from_spacing</a>(<span class="keywordtype">float</span> <a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>, <span class="keywordtype">float</span> nozzle_diameter, <span class="keywordtype">float</span> height, <span class="keywordtype">bool</span> bridge);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt; <span class="keyword">static</span> T <a class="code" href="class_slic3r_1_1_flow.html#aadd5c6973103d034d6e8ee528a011bf7">solid_spacing</a>(<span class="keyword">const</span> T total_width, <span class="keyword">const</span> T <a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    </div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">float</span> _bridge_width(<span class="keywordtype">float</span> nozzle_diameter, <span class="keywordtype">float</span> bridge_flow_ratio);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">float</span> _auto_width(<a class="code" href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567a">FlowRole</a> role, <span class="keywordtype">float</span> nozzle_diameter, <span class="keywordtype">float</span> height);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">float</span> _width_from_spacing(<span class="keywordtype">float</span> <a class="code" href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">spacing</a>, <span class="keywordtype">float</span> nozzle_diameter, <span class="keywordtype">float</span> height, <span class="keywordtype">bool</span> bridge);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;};</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;}</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="class_slic3r_1_1_flow_html_a51d6515f3be6a482192432347e8abf00"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a51d6515f3be6a482192432347e8abf00">Slic3r::Flow::height</a></div><div class="ttdeci">float height</div><div class="ttdef"><b>Definition:</b> Flow.hpp:29</div></div>
<div class="ttc" id="libslic3r_8h_html"><div class="ttname"><a href="libslic3r_8h.html">libslic3r.h</a></div></div>
<div class="ttc" id="namespace_slic3r_html_ab6d77625bc973b0c03e577944f90f297"><div class="ttname"><a href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">Slic3r::coord_t</a></div><div class="ttdeci">long coord_t</div><div class="ttdef"><b>Definition:</b> libslic3r.h:41</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html"><div class="ttname"><a href="class_slic3r_1_1_flow.html">Slic3r::Flow</a></div><div class="ttdoc">Represents material flow; provides methods to predict material spacing. </div><div class="ttdef"><b>Definition:</b> Flow.hpp:26</div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567aa994c86d4a3903ed69cf3b69fa2be90a2"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa994c86d4a3903ed69cf3b69fa2be90a2">Slic3r::frSupportMaterialInterface</a></div><div class="ttdef"><b>Definition:</b> Flow.hpp:21</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_abdb03e56911ff807d0e1fda1c07155bc"><div class="ttname"><a href="class_slic3r_1_1_flow.html#abdb03e56911ff807d0e1fda1c07155bc">Slic3r::Flow::set_spacing</a></div><div class="ttdeci">void set_spacing(float spacing)</div><div class="ttdef"><b>Definition:</b> Flow.cpp:54</div></div>
<div class="ttc" id="namespace_slic3r_html_acc507236f3ad6ccc35452c9315da3e96"><div class="ttname"><a href="namespace_slic3r.html#acc507236f3ad6ccc35452c9315da3e96">Slic3r::BRIDGE_EXTRA_SPACING</a></div><div class="ttdeci">constexpr auto BRIDGE_EXTRA_SPACING</div><div class="ttdef"><b>Definition:</b> Flow.hpp:10</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a1766d8ec9f82c0810cf3acf9d2a6d0d1"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a1766d8ec9f82c0810cf3acf9d2a6d0d1">Slic3r::Flow::scaled_width</a></div><div class="ttdeci">coord_t scaled_width() const</div><div class="ttdef"><b>Definition:</b> Flow.hpp:50</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a8e0baa95d231d187bd6d013e3c3f528d"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a8e0baa95d231d187bd6d013e3c3f528d">Slic3r::Flow::new_from_config_width</a></div><div class="ttdeci">static Flow new_from_config_width(FlowRole role, const ConfigOptionFloatOrPercent &amp;width, float nozzle_diameter, float height, float bridge_flow_ratio)</div><div class="ttdoc">Static method to build a Flow object from an extrusion width config setting and some other context pr...</div><div class="ttdef"><b>Definition:</b> Flow.cpp:10</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a83820293c290e04af49afc7d4aec0769"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a83820293c290e04af49afc7d4aec0769">Slic3r::Flow::bridge</a></div><div class="ttdeci">bool bridge</div><div class="ttdef"><b>Definition:</b> Flow.hpp:30</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a9ae18622304592a432ed22b3705aa12d"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a9ae18622304592a432ed22b3705aa12d">Slic3r::Flow::set_solid_spacing</a></div><div class="ttdeci">void set_solid_spacing(const coord_t total_width)</div><div class="ttdef"><b>Definition:</b> Flow.hpp:43</div></div>
<div class="ttc" id="_config_8hpp_html"><div class="ttname"><a href="_config_8hpp.html">Config.hpp</a></div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a8d56d1ac599f0ae41d95794c8ed66b98"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a8d56d1ac599f0ae41d95794c8ed66b98">Slic3r::Flow::scaled_spacing</a></div><div class="ttdeci">coord_t scaled_spacing() const</div><div class="ttdef"><b>Definition:</b> Flow.hpp:53</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_ad232e14befb4c7b4ac18c6e81c4e36ed"><div class="ttname"><a href="class_slic3r_1_1_flow.html#ad232e14befb4c7b4ac18c6e81c4e36ed">Slic3r::Flow::nozzle_diameter</a></div><div class="ttdeci">float nozzle_diameter</div><div class="ttdef"><b>Definition:</b> Flow.hpp:29</div></div>
<div class="ttc" id="namespace_slic3r_html_a9a0d9b5718fd26081d3fc9f143f2b246"><div class="ttname"><a href="namespace_slic3r.html#a9a0d9b5718fd26081d3fc9f143f2b246">Slic3r::scale_</a></div><div class="ttdeci">constexpr coord_t scale_(const coordf_t &amp;val)</div><div class="ttdef"><b>Definition:</b> libslic3r.h:48</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a4c03208d54194e4c708b17c40a418801"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a4c03208d54194e4c708b17c40a418801">Slic3r::Flow::scaled_spacing</a></div><div class="ttdeci">coord_t scaled_spacing(const Flow &amp;other) const</div><div class="ttdef"><b>Definition:</b> Flow.hpp:56</div></div>
<div class="ttc" id="namespace_slic3r_html_a2ac5c755948c74f5f5f975acd5057fe9"><div class="ttname"><a href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">Slic3r::coordf_t</a></div><div class="ttdeci">double coordf_t</div><div class="ttdef"><b>Definition:</b> libslic3r.h:42</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a42ec487a6853ed58d3deff0ce060abd9"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a42ec487a6853ed58d3deff0ce060abd9">Slic3r::Flow::spacing</a></div><div class="ttdeci">float spacing() const</div><div class="ttdef"><b>Definition:</b> Flow.cpp:43</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_ab8915dc7b1902bef7ebe2c323346766f"><div class="ttname"><a href="class_slic3r_1_1_flow.html#ab8915dc7b1902bef7ebe2c323346766f">Slic3r::Flow::mm3_per_mm</a></div><div class="ttdeci">double mm3_per_mm() const</div><div class="ttdef"><b>Definition:</b> Flow.cpp:75</div></div>
<div class="ttc" id="namespace_slic3r_html_abced911f7635cda7a4b8423008e753a9"><div class="ttname"><a href="namespace_slic3r.html#abced911f7635cda7a4b8423008e753a9">Slic3r::OVERLAP_FACTOR</a></div><div class="ttdeci">constexpr auto OVERLAP_FACTOR</div><div class="ttdef"><b>Definition:</b> Flow.hpp:11</div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567aa76382120c41343ceddf63472ce33ceaf"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa76382120c41343ceddf63472ce33ceaf">Slic3r::frPerimeter</a></div><div class="ttdef"><b>Definition:</b> Flow.hpp:16</div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567aa16d80b2546547565f4e334f9cf68a415"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa16d80b2546547565f4e334f9cf68a415">Slic3r::frSupportMaterial</a></div><div class="ttdef"><b>Definition:</b> Flow.hpp:20</div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567aa1659c28f8384ed923cc03781bf910c54"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa1659c28f8384ed923cc03781bf910c54">Slic3r::frTopSolidInfill</a></div><div class="ttdef"><b>Definition:</b> Flow.hpp:19</div></div>
<div class="ttc" id="namespace_slic3r_html"><div class="ttname"><a href="namespace_slic3r.html">Slic3r</a></div><div class="ttdef"><b>Definition:</b> BoundingBox.cpp:4</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_aadd5c6973103d034d6e8ee528a011bf7"><div class="ttname"><a href="class_slic3r_1_1_flow.html#aadd5c6973103d034d6e8ee528a011bf7">Slic3r::Flow::solid_spacing</a></div><div class="ttdeci">static T solid_spacing(const T total_width, const T spacing)</div><div class="ttdef"><b>Definition:</b> Flow.cpp:130</div></div>
<div class="ttc" id="_extrusion_entity_8hpp_html"><div class="ttname"><a href="_extrusion_entity_8hpp.html">ExtrusionEntity.hpp</a></div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567aa7d4497c484372805525d52c0809d85a0"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa7d4497c484372805525d52c0809d85a0">Slic3r::frSolidInfill</a></div><div class="ttdef"><b>Definition:</b> Flow.hpp:18</div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567aadc1f79acb9a303b4dcd74d6aaaa637e2"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aadc1f79acb9a303b4dcd74d6aaaa637e2">Slic3r::frInfill</a></div><div class="ttdef"><b>Definition:</b> Flow.hpp:17</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a6030c04dfb2372ee8c8a1d9014c4a3cf"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a6030c04dfb2372ee8c8a1d9014c4a3cf">Slic3r::Flow::width</a></div><div class="ttdeci">float width</div><div class="ttdef"><b>Definition:</b> Flow.hpp:29</div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567aa73b23230c5b13dd721893c50d09a9d5f"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567aa73b23230c5b13dd721893c50d09a9d5f">Slic3r::frExternalPerimeter</a></div><div class="ttdef"><b>Definition:</b> Flow.hpp:15</div></div>
<div class="ttc" id="class_slic3r_1_1_config_option_float_or_percent_html"><div class="ttname"><a href="class_slic3r_1_1_config_option_float_or_percent.html">Slic3r::ConfigOptionFloatOrPercent</a></div><div class="ttdef"><b>Definition:</b> Config.hpp:297</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_a441a5a83187dc581d23e3cf7d2db341a"><div class="ttname"><a href="class_slic3r_1_1_flow.html#a441a5a83187dc581d23e3cf7d2db341a">Slic3r::Flow::Flow</a></div><div class="ttdeci">Flow(float _w, float _h, float _nd, bool _bridge=false)</div><div class="ttdef"><b>Definition:</b> Flow.hpp:32</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_abc8c016119602809cc6eea441a7ed09a"><div class="ttname"><a href="class_slic3r_1_1_flow.html#abc8c016119602809cc6eea441a7ed09a">Slic3r::Flow::new_from_spacing</a></div><div class="ttdeci">static Flow new_from_spacing(float spacing, float nozzle_diameter, float height, bool bridge)</div><div class="ttdoc">Static method to build a Flow object from a specified centerline spacing (center-to-center). </div><div class="ttdef"><b>Definition:</b> Flow.cpp:31</div></div>
<div class="ttc" id="class_slic3r_1_1_flow_html_ae1f0e688c29134b9cb748f92516b507c"><div class="ttname"><a href="class_slic3r_1_1_flow.html#ae1f0e688c29134b9cb748f92516b507c">Slic3r::Flow::set_solid_spacing</a></div><div class="ttdeci">void set_solid_spacing(const coordf_t total_width)</div><div class="ttdef"><b>Definition:</b> Flow.hpp:46</div></div>
<div class="ttc" id="namespace_slic3r_html_a4bcb312043a874462f942e362c16567a"><div class="ttname"><a href="namespace_slic3r.html#a4bcb312043a874462f942e362c16567a">Slic3r::FlowRole</a></div><div class="ttdeci">FlowRole</div><div class="ttdoc">Enumeration for different flow roles. </div><div class="ttdef"><b>Definition:</b> Flow.hpp:14</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
